/*
 * This file is Copyright 2002-2006 Loyola University Chicago,
 * Department of Computer Science and the Emerging Technologies Laboratory.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License via
 *    http://www.apache.org/licenses/LICENSE-2.0.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.citep.web.gwt.dto;

import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

public class AccountDTO implements IsSerializable {
	private int id;
	private String fqName; //fully qualified name as defined by the parent hierarchy
	private String name;
	private String description;
	private String type;
	private String startingBalance;
	private String currentBalance;
	private Date startPeriod;
	private Date endPeriod;
	private Date lastModified;
	private boolean enabled;
	
	private AccountCategoryDTO accountCategory;
	
	public String getStartingBalance() {
		return startingBalance;
	}
	public void setStartingBalance(String balance) {
		this.startingBalance = balance;
	}
	
	public String getCurrentBalance() {
		return currentBalance;
	}
	
	public void setCurrentBalance(String balance) {
		this.currentBalance = balance;
	}
	
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public boolean isEnabled() {
		return enabled;
	}
	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
	public Date getEndPeriod() {
		return endPeriod;
	}
	public void setEndPeriod(Date endPeriod) {
		this.endPeriod = endPeriod;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getStartPeriod() {
		return startPeriod;
	}
	public void setStartPeriod(Date startPeriod) {
		this.startPeriod = startPeriod;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public String getType() {
		return type;
	}
	
	public AccountCategoryDTO getAccountCategory() {
		return accountCategory;
	}
	
	public void setAccountCategory(AccountCategoryDTO accountCategory) {
		this.accountCategory = accountCategory;
	}
	public String getFqName() {
		return fqName;
	}
	public void setFqName(String fqName) {
		this.fqName = fqName;
	}
	public Date getLastModified() {
		return lastModified;
	}
	public void setLastModified(Date lastModified) {
		this.lastModified = lastModified;
	}
}
